import { SearchOutlined } from '@ant-design/icons'
import { Button, Space } from 'antd'
import React from 'react'
export default function TestButton() {
    return (
        <div>
            <h3>antd Button</h3>
            <Space size={30}>
                <Button type="primary" danger>Primary Button</Button>
                <Button htmlType='submit' type="primary" icon={<SearchOutlined />}>
                    Search
                </Button>
                <Button type="primary" danger disabled={true}>禁用</Button>
                <Button href="http://baidu.com">a标签跳转</Button>
                <Button loading>loading</Button>
            </Space>
        </div>
    )
}
